package domain;

public class Subway {
    private String number;
    private String name;
    private String subLine;
    private int stayTime;
    private int startTime;
    private int stopTime;

    public Subway() {
    }

    public Subway(String number, String name, String subLine, int stayTime, int startTime, int stopTime) {
        this.number = number;
        this.name = name;
        this.subLine = subLine;
        this.stayTime = stayTime;
        this.startTime = startTime;
        this.stopTime = stopTime;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSubLine() {
        return subLine;
    }

    public void setSubLine(String subLine) {
        this.subLine = subLine;
    }

    public int getStayTime() {
        return stayTime;
    }

    public void setStayTime(int stayTime) {
        this.stayTime = stayTime;
    }

    public int getStartTime() {
        return startTime;
    }

    public void setStartTime(int startTime) {
        this.startTime = startTime;
    }

    public int getStopTime() {
        return stopTime;
    }

    public void setStopTime(int stopTime) {
        this.stopTime = stopTime;
    }

    @Override
    public String toString() {
        return "Subway{" +
                "number=" + number +
                ", name='" + name + '\'' +
                ", subLine='" + subLine + '\'' +
                ", stayTime=" + stayTime +
                ", startTime=" + startTime +
                ", stopTime=" + stopTime +
                '}';
    }
}
